package org.dromara.system.domain.bo;

import org.dromara.system.domain.CmsRfid;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * rfid管理业务对象 cms_rfid
 *
 * @author Lion Li
 * @date 2025-08-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = CmsRfid.class, reverseConvertGenerate = false)
public class CmsRfidBo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * rfid
     */
    @NotBlank(message = "rfid不能为空", groups = { AddGroup.class, EditGroup.class })
    private String rfid;

    /**
     * 使用状态
     */
    @NotBlank(message = "使用状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;


}
